package demo.pattern.DecoratorPattern;

/**
 * @author : GuoFei
 * @date : 2018-12-05 16:46:29
 */
public abstract class ShapeDecorator implements Shape {
    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        decoratedShape.draw();
    }
}